package com.itcast.service;

import com.itcast.pojo.Borrow;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface BorrowService {
    void borrow(Integer id, HttpServletRequest request);

    List<Borrow> display(HttpServletRequest request);

    void returnBook(Integer id);
}
